using System;
using System.Collections.Generic;
using System.Text;

namespace RideMe.Core.Parser
{
    public class Method : IRubyEntity 
    {
        private string _name;
		private TopLevelEntity _parent;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

		public TopLevelEntity Parent
		{
			get { return _parent; }
			set { _parent = value; }
		}
        private int _line;

        public int Line
        {
            get { return _line; }
            set { _line = value; }
        }

        private int _column;

        public int Column
        {
            get { return _column; }
            set { _column = value; }
        }

        private int _lineLength;

        public int LineLength
        {
            get { return _lineLength; }
            set { _lineLength = value; }
        }

        private EndStatement _end;

        public EndStatement End
        {
            get { return _end; }
            set { _end = value; }
        }

        public override string ToString()
        {
            return _name;
        }

    }
}
